package org.wyy.vm.service;

import java.util.List;

import org.wyy.vm.entity.Video;

public interface IVideoService {

	List<Video> getAllVideos();

	List<Video> searchByName(String name);

	Video getById(long id);

	void addVideo(Video video);

	void deleteVideo(long id);

	void updateVideo(Video video);
	
	Object[] getJTableColumnNames();
	
	Object[][] getJTableData();

}
